﻿using B.S.BaseData.ErrorCode;
using MediatR;

namespace B.S.BaseData.Write.API.Application.Command
{
    /// <summary>
    /// 商品修改命令
    /// </summary>
    public class GoodsUpdateCommand : IRequest<ApiResult<object>>
    {
        public int GoodsId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public int Gid { get; set; }

        ///// <summary>
        ///// 生产批次
        ///// </summary>
        //public string Production { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>
        public int Expiration { get; set; }

        ///// <summary>
        ///// 生产许可证号
        ///// </summary>
        //public string ProductionNumber { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductionHome { get; set; }

        ///// <summary>
        ///// 封面图
        ///// </summary>
        //public string Img { get; set; }

        ///// <summary>
        ///// 创建人
        ///// </summary>
        //public string CreateName { get; set; }

        ///// <summary>
        ///// 创建时间
        ///// </summary>
        //public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
    }
}
